#include <iostream>
#include <cstdlib>
#include <cstring>

using namespace std;

struct _NODE
{
	char name[20];
	int id;
};

typedef struct _NODE NODE;

void print(void *node);

int main()
{
	NODE *basenode = NULL;
	NODE *enode = new NODE;
	strcpy(enode->name, "Rima");
	enode->id = 10;
	basenode = enode;
	print(basenode);
	return 0;
}

void print(void *node)
{
	NODE *printNode = (NODE *)node;
	cout << printNode->name << endl;
}

